package com.traffic.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 工资统计对象 per_salary_statistics
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerSalaryStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工资ID */
    private Long salaryId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 工资月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工资月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date month;

    /** 实发金额 */
    @Excel(name = "实发金额")
    private BigDecimal actualSalary;

    /** 应发金额 */
    @Excel(name = "应发金额")
    private BigDecimal expectedSalary;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private String status;

    /** 创建时间 */
    private Date creatTime;

    public void setSalaryId(Long salaryId) 
    {
        this.salaryId = salaryId;
    }

    public Long getSalaryId() 
    {
        return salaryId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setMonth(Date month) 
    {
        this.month = month;
    }

    public Date getMonth() 
    {
        return month;
    }
    public void setActualSalary(BigDecimal actualSalary) 
    {
        this.actualSalary = actualSalary;
    }

    public BigDecimal getActualSalary() 
    {
        return actualSalary;
    }
    public void setExpectedSalary(BigDecimal expectedSalary) 
    {
        this.expectedSalary = expectedSalary;
    }

    public BigDecimal getExpectedSalary() 
    {
        return expectedSalary;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salaryId", getSalaryId())
            .append("userName", getUserName())
            .append("department", getDepartment())
            .append("month", getMonth())
            .append("actualSalary", getActualSalary())
            .append("expectedSalary", getExpectedSalary())
            .append("status", getStatus())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
